<template>
  <div class="front">
    <el-tabs v-model="activeName" @tab-click="handleClick">
    <el-tab-pane label="css" name="css">
      <CssBean></CssBean>
    </el-tab-pane>
    <el-tab-pane label="html" name="html">
      <HtmlBean></HtmlBean>
    </el-tab-pane>
    <el-tab-pane label="js" name="js">角色管理</el-tab-pane>
    <el-tab-pane label="rust" name="rust">定时任务补偿</el-tab-pane>
    <el-tab-pane label="ts" name="ts">定时任务补偿</el-tab-pane>
  </el-tabs>
  </div>
</template>
<script>
import CssBean from '@/components/CssBean.vue';
import HtmlBean from '@/components/HtmlBean.vue';
export default {
  name: 'FrontBase',
  components: {
    CssBean,
    HtmlBean
  },
  data() {
    return {
      activeName: 'css'
    }
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  }
}
</script>